package com.burgeon.backend.service;


import com.burgeon.backend.service.ex.ErrorDataException;
import com.burgeon.backend.service.ex.PhoneException;
import com.burgeon.backend.service.ex.SendCodeException;

import javax.servlet.http.HttpSession;

public interface CodeService {

    void verificationCode(String phone, HttpSession session) throws PhoneException, SendCodeException;

    void Judge(String phone, String code, HttpSession session) throws PhoneException, SendCodeException, ErrorDataException;


}
